package br.com.saeng2D.util;

import java.awt.Color;
import java.awt.Graphics;

import javax.swing.JPanel;

public class PainelDesenho extends JPanel {  
	  
	  
    public PainelDesenho(){  
  
    }  
        
  
    @Override  
    public void paintComponent(Graphics g) {  
        super.paintComponent(g);  
          
        setForeground(Color.blue);  
        g.fillRect(0, 0, 50, 50);  
  
        setForeground(Color.green);  
        g.fillRect(50, 50, 100, 100);  
  
        setForeground(Color.red);  
        g.fillOval(100, 100, 150, 150);      
          
          
    }  
  
  
}  
